From b12a06766e32e3c76544b1d12bec91653e1fe9db Mon Sep 17 00:00:00 2001
From: 0-Zz-ang <s1998319@gmail.com>
Date: Mon, 25 Aug 2025 09:23:30 +0900
Subject: docu-list-rule페이지 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/[lng]/evcp/(evcp)/docu-list-rule/layout.tsx | 70 ++++---------------------
 1 file changed, 9 insertions(+), 61 deletions(-)

(limited to 'app/[lng]/evcp/(evcp)/docu-list-rule/layout.tsx')

diff --git a/app/[lng]/evcp/(evcp)/docu-list-rule/layout.tsx b/app/[lng]/evcp/(evcp)/docu-list-rule/layout.tsx
index 03473293..05231bf1 100644
--- a/app/[lng]/evcp/(evcp)/docu-list-rule/layout.tsx
+++ b/app/[lng]/evcp/(evcp)/docu-list-rule/layout.tsx
@@ -1,69 +1,17 @@
-import { Metadata } from "next"
+import { Shell } from "@/components/shell"
+import DocuListRuleClient from "@/components/docu-list-rule/docu-list-rule-client"
 
-import { Separator } from "@/components/ui/separator"
-import { SidebarNav } from "@/components/layout/sidebar-nav"
-
-export const metadata: Metadata = {
-  title: "Document Numbering Rule",
-}
-
-
-
-export default async function DocumentNumberingLayout({
+// Layout 컴포넌트는 서버 컴포넌트입니다
+export default async function VendorDocuments({
   children,
-  params,
 }: {
   children: React.ReactNode
-  params: { lng: string }
 }) {
-  const resolvedParams = await params
-  const lng = resolvedParams.lng
-
-  const sidebarNavItems = [
-    {
-      title: "Document Class 관리",
-      href: `/${lng}/evcp/docu-list-rule/document-class`,
-    },
-    {
-      title: "Code Group 정의",
-      href: `/${lng}/evcp/docu-list-rule/code-groups`,
-    },
-    {
-      title: "Combo Box 설정",
-      href: `/${lng}/evcp/docu-list-rule/combo-box-settings`,
-    },
-    {
-      title: "Number Type 관리",
-      href: `/${lng}/evcp/docu-list-rule/number-types`,
-    },
-    {
-      title: "Number Type별 설정",
-      href: `/${lng}/evcp/docu-list-rule/number-type-configs`,
-    },
-  ]
-
   return (
-    <>
-      <div className="container py-6">
-        <section className="overflow-hidden rounded-[0.5rem] border bg-background shadow">
-          <div className="hidden space-y-6 p-10 pb-16 md:block">
-            <div className="space-y-0.5">
-              <h2 className="text-2xl font-bold tracking-tight">Document Numbering Rule (해양)</h2>
-              <p className="text-muted-foreground">
-              벤더 제출 문서 리스트 작성 시에 사용되는 넘버링
-            </p>
-            </div>
-            
-            <Separator className="my-6" />
-            <div className="flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0">
-              <aside className="-mx-4 lg:w-1/5">
-                <SidebarNav items={sidebarNavItems} />
-              </aside>
-              <div className="flex-1 ">{children}</div>
-            </div>
-          </div>
-        </section>
-      </div>
-    </>
+    <Shell className="gap-2">
+      <DocuListRuleClient>
+        {children}
+      </DocuListRuleClient>
+    </Shell>
   )
 } 
\ No newline at end of file
-- 
cgit v1.2.3

